package com.xm2.demo.system.employee.service;

import com.xm2.demo.model.User;
import com.xm2.demo.system.employee.dto.EmployeeDto;
import com.xm2.demo.system.employee.dto.EmployeePage;
import com.xm2.demo.utils.Pagination;

import java.util.List;

/**
 * @Create
 * @create 2018-12-17 18:56
 * @Description：
 */
public interface EmployeeService {

    Pagination findByPageable(Pagination pagination, Integer pId);

    List<String> getPosition(Integer pid);

    int save(EmployeeDto employeeDto, Integer pid);

    void deleteByIds(String ids);

    Pagination findByEmployeePage(EmployeePage employeePage, Integer pid);

}
